package com.ruoyi.project.infobaseproject.mapper;

import java.util.List;
import com.ruoyi.project.infobaseproject.domain.InfoBaseProjectTargetStaging;

/**
 * 项目信息及资金调整暂存Mapper接口
 * 
 * @author ruoyi
 * @date 2023-04-19
 */
public interface InfoBaseProjectTargetStagingMapper 
{
    /**
     * 查询项目信息及资金调整暂存
     * 
     * @param id 项目信息及资金调整暂存主键
     * @return 项目信息及资金调整暂存
     */
    public InfoBaseProjectTargetStaging selectInfoBaseProjectTargetStagingById(Long id);

    /**
     * 查询项目信息及资金调整暂存列表
     * 
     * @param infoBaseProjectTargetStaging 项目信息及资金调整暂存
     * @return 项目信息及资金调整暂存集合
     */
    public List<InfoBaseProjectTargetStaging> selectInfoBaseProjectTargetStagingList(InfoBaseProjectTargetStaging infoBaseProjectTargetStaging);

    /**
     * 新增项目信息及资金调整暂存
     * 
     * @param infoBaseProjectTargetStaging 项目信息及资金调整暂存
     * @return 结果
     */
    public int insertInfoBaseProjectTargetStaging(InfoBaseProjectTargetStaging infoBaseProjectTargetStaging);

    /**
     * 修改项目信息及资金调整暂存
     * 
     * @param infoBaseProjectTargetStaging 项目信息及资金调整暂存
     * @return 结果
     */
    public int updateInfoBaseProjectTargetStaging(InfoBaseProjectTargetStaging infoBaseProjectTargetStaging);

    /**
     * 删除项目信息及资金调整暂存
     * 
     * @param id 项目信息及资金调整暂存主键
     * @return 结果
     */
    public int deleteInfoBaseProjectTargetStagingById(Long id);

    /**
     * 批量删除项目信息及资金调整暂存
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInfoBaseProjectTargetStagingByIds(Long[] ids);

    InfoBaseProjectTargetStaging selectInfoBaseProjectTargetStagingByProjectId(Long id);

    InfoBaseProjectTargetStaging selectInfoBaseProjectTargetStagingByProjectId2(Long id);
}
